<?php
namespace Home\Model;

use Think\Model\ViewModel;

class SchoolRelationViewModel extends ViewModel
{
	public $viewFields = array(    
	 'SchoolRelation'=>array('*'), 
	 'SchoolType'=>array('_on'=>'SchoolRelation.school_type_id=SchoolType.school_type_id','school_type_name','school_type_sort'),
	);


}